package com.shenmazong.servereduschool.service;

import com.github.pagehelper.PageInfo;
import com.shenmazong.servereduschool.pojo.TbCollage;
import com.shenmazong.servereduschool.pojo.TbMajor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazong.servereduschool.pojo.TbStage;
import com.shenmazong.utils.ResultResponse;

import java.util.List;

/**
 *
 */
public interface TbMajorService extends IService<TbMajor> {

    PageInfo findMajorList(Integer pageNum, Integer pageSize, Object tbMajor);

    ResultResponse add(TbMajor tbMajor);

    ResultResponse queryByMajorId(TbMajor tbMajor);

    ResultResponse updateTbMajor(TbMajor tbMajor);

    ResultResponse delByMajorId(TbMajor tbMajor);

    ResultResponse delAll(List<TbMajor> ids);

    ResultResponse findMajor();

}
